<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8">
	<title>LeadBar</title>
	<link rel="shortcut icon" href="/dist/images/favicon.ico" type="image/x-icon" />
	<link rel="stylesheet" type="text/css" href="/dist/css/bootstrap.min.css">
	<link rel="stylesheet" type="text/css" href="/dist/css/login.css">
</head>

<body>
	<div id="login">
		<div class="login">
			<form action="/signup" method="POST">

				<%if(!success) {%>
					<div class="return-result">
						<p>
							<%= error%>
						</p>
					</div>
					<%}%>
						<input type="hidden" name="security_code" value="<%= security_code%>" />
						<div class="form-group">
							<input tabIndex="1" type="text" class="form-control" name="name" placeholder="请输入用户名" value="<%= data.name%>" />
							<span class="errorUsername"></span>
						</div>
						<div class="form-group">
							<input tabIndex="2" type="email" class="form-control" name="email" placeholder="请输入邮箱账号" value="<%= data.email%>" />
							<span class="errorEmail"></span>
						</div>
						<div class="form-group">
							<input tabIndex="3" type="password" class="form-control" name="password" id="exampleInputPassword1" placeholder="密码不少于6位"
							 value="<%= data.password%>" />
							<span class="errorPassword"></span>
							<div class="noAccount">
								已有账号?<a tabindex="-1" href="/login"> 登录</a>
							</div>
						</div>
						<button class="signup-btn btn btn-success" type="submit">注册</button>
			</form>
			<div class="copyright">
				<span>©</span>
				<span>2017</span>
				<span> LeadBar，Inc.</span>
				<span>All Rights Reserved.</span>
			</div>
		</div>
	</div>


	<script type="text/javascript" src="/dist/js/signup.js"></script>
</body>

</html>